package com.lyc.common.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author 李大神仙
 * @Date 2024/3/2 13:41
 * @Version 1.0
 */
@Data
public class UserInfo {

    @ApiModelProperty(value = "员工邮箱")
    private String email;

    @ApiModelProperty(value = "员工头像")
    private String headImgUrl;

    @ApiModelProperty(value = "用户id")
    private String id;

    @ApiModelProperty(value = "身份证编码")
    private String idnum;

    @ApiModelProperty(value = "员工手机号")
    private String mobile;

    @ApiModelProperty(value = "员工姓名")
    private String nickname;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "系统账号")
    private String username;

    private String ip;

    private String language;

    private Long userId;

    /**
     * DIOS用户账号
     */
    private String account;

    /**
     * DIOS应用编码
     */
    private String appCode;

    /**
     * DIOS的token
     */
    private String authorization;

    /**
     * 组织主键
     */
    private String orgId;

    /**
     * 租户主键
     */
    private String tenantId;

    /**
     * 租户编码
     */
    private String entCode;

    /**
     * 租户名称
     */
    private String enterpriseName;

    /**
     * 组织名称
     */
    private String applicationOrganize;

    /**
     * 组织ID
     */
    private String applicationOrganizeId;

    /**
     * 授权账号
     */
    private String authAccount;
    private boolean isAdmin;
    private String enterpriseId;
}
